package implementaciones;

import interfaces.ICodePrinter;

public class CodePrinter implements ICodePrinter {

	private static StringBuffer outputCode = new StringBuffer();

	public CodePrinter() {
	}
	
	@Override
	public void AppendCode(String code) {
		outputCode.append(code + "\n");
	}

	@Override
	public StringBuffer getFinalCode() {
		return outputCode;
	}
	
}
